body{
    padding: auto;
    margin: auto;
	width: 100%;
	background: url(images/body-bg.jpg) no-repeat top center fixed;

	}
#header{
	height: 130px;
	}
#logo{
	background: url(images/logo.png) no-repeat;
	width: 400px;
	height: 128px;
	float:left;
}
#flash{
	width: 555px;
	height: 128px;
	float: right;
}

#wrapper {
  background: none repeat scroll 0 0 #FFFFFF;
  border-radius: 2px 2px 2px 2px;
  box-shadow: 0 1px 12px #FFFFFF;
  margin: 5px auto 6px;
  min-height: 900px;
  padding: 0 5px 1px;
  width: 960px;
}
/**********************************************************/
/** Top Navigation **/
#nav {
  background: url("images/menu/menu-grad.jpg") repeat-x scroll 0 0 transparent;
  border: 1px solid #CCCCCC;
  border-radius: 5px 5px 5px 5px;
  box-shadow: 1px 1px 3px #555555;
  padding: 10px 0;
  margin-bottom: 17px;
  font-weight: bold;
}

#main_menu, .sub_menu {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

ul.sub_menu {
    position: absolute;
    left:-999em;
}

#main_menu li {
    float:left;
}

#main_menu > li:hover > ul {
    left: auto;
}

ul.sub_menu li:hover > ul {
    left:auto;
}

#main_menu li a {
  border-right: 3px double #F1F1F1;
  color: #333333;
  font-size: 14px;
  padding: 8px 10px;
  text-align: center;
  text-decoration: none;
  text-shadow: 1px 1px 0 #CCCCCC;
  -moz-transition: 0.3s;
  -webkit-transition: 0.3s;
}

#main_menu li a:hover, a:focus {
    color: #123abc;
  -moz-transition: 0.3s;
  -webkit-transition: 0.3s;
}

ul.sub_menu {
  background: url("menu/menu-grad.jpg") repeat scroll 0 0 transparent;
  border: 1px solid #F1F1F1;
  border-radius: 4px 4px 4px 4px;
  box-shadow: 1px 1px 0 #CCCCCC;
  padding: 5px 8px;
}
.sub_menu li{
	padding: 0 5px;
	border-right: 1px solid #ccc;
	  -moz-transition: 0.3s;
  -webkit-transition: 0.3s;
}
.sub_menu li:hover{
	border-right:1px solid #123abc;
	  -moz-transition: 0.3s;
  -webkit-transition: 0.3s;
}
/**********************************************************/
/** Car menu **/
#car_main_menu{margin: 5px;}
#typemenu {
  border-bottom: 4px solid #CCCCCC;
  color: #123ABC;
  font-family: tahoma;
  margin: 0 auto;
  text-align: center;
  width: 226px;
}
ul.car_menu {
  background: url("images/menu/menu-grad.jpg") repeat-x scroll center bottom #FFFFFF;
  border: 1px solid #F1F1F1;
  border-radius: 10px 10px 10px 10px;
  height: 140px;
  margin: 0;
  padding: 5px;
  width: 937px;
}

ul.car_menu li {
  border: 1px solid transparent;
  display: block;
  float: left;
  padding: 6px 5px;
  width: 107px;
}

ul.car_menu li a {
    color:black;
}

ul.car_sub_menu1 {
  background: url("images/menu/menu-grad.jpg") repeat-x scroll center bottom #FFFFFF;
  border: 1px solid #F1F1F1;
  border-radius: 4px 4px 4px 4px;
  box-shadow: 1px 1px 3px #888888;
  color: white;
  left: -999em;
  margin: 0;
  padding: 0;
  position: absolute;
  width: 120px;
}
ul.car_sub_menu1 li:hover{
	background: #f80 !important;
	color: #fff;
	font-weight: bold;
}

ul.car_menu li:hover {
  background-color: #F1F1F1;
  border: 1px solid #999999;
  border-radius: 4px 4px 4px 4px;
  box-shadow: 1px 1px 3px #CCCCCC;
}

ul.car_menu li:hover > ul {
	left:auto;
	margin-left:60px;
	margin-top: -40px;
}
/**********************************************************/
#content{
	min-height: 900px;
}
#footer {
  background: url("images/menu/menu-grad.jpg") repeat-x scroll center bottom transparent;
  border-top: 1px solid #F1F1F1;
  bottom: 0;
  height: 66px;
  margin-bottom: 3px;
  padding: 7px 5px 5px;
  position: relative;
  width: 99%;
}
/**************Login/reg****************/
#totalblock{
	width: 100%;
	height: 246px;
}
#slider-wrapper {
    width:618px;
    height:246px;
    margin:0 auto;
    margin-top:5px;
	float: left;
}
#userwrap {
  background: url("images/menu/menu-grad.jpg") repeat-x scroll center bottom transparent;
  border: 1px solid #F1F1F1;
  border-radius: 4px 4px 4px 4px;
  float: right;
  height: 246px;
  margin-top: 5px;
  width: 335px;
}
#regbtn {
  background: url("images/menu/menu-grad.jpg") repeat-x scroll center bottom #FFFFFF;
  border: 1px solid #F1F1F1;
  border-radius: 4px 4px 4px 4px;
  height: 90px;
  margin: 15px auto;
  width: 290px;
  text-align: center;
  font-weight: bold;
  line-height: 88px;
  text-decoration: none;
  font-size: 35px;
}
#loginbtn{
  background: url("images/menu/menu-grad.jpg") repeat-x scroll center bottom #FFFFFF;
  border: 1px solid #F1F1F1;
  border-radius: 4px 4px 4px 4px;
  height: 90px;
  margin: 15px auto;
  width: 290px;
  text-align: center;
  font-weight: bold;
  line-height: 88px;
  font-size: 35px;
}
.regbtn a{
  text-decoration: none;
  color:green;
}
.regbtn:hover{
	box-shadow: 1px 1px 3px #000;
}
.regbtn:hover a{
    color: red;
}
/************endlogin**************/
/*********************** Register Form ***********************/
#register_form_wrapper {
  -moz-transition: all 0.5s ease 0s;
  background: url("images/menu/menu-grad.jpg") repeat-x scroll center bottom #FFFFFF;
  border: 1px solid #F1F1F1;
  border-radius: 4px 4px 4px 4px;
  box-shadow: 1px 1px 3px #CCCCCC;
  margin: 0 auto;
  width: 60%;
}
#adminh1 {
  background: url("images/menu/menu-grad.jpg") repeat-x scroll center bottom #FFFFFF;
  border: 1px solid #F1F1F1;
  border-radius: 4px 4px 4px 4px;
  color: #888888;
  font-size: 19px;
  margin: 0 0 11px;
  padding: 5px 10px;
  text-align: right;
  text-shadow: 1px 1px 0 #CCCCCC;
}
label{
    width: 175px;
    float:left;
    margin-left: 5px;
	font-weight: bold;
}

#register_form p{
    padding: 0;
    margin: 0;
    margin-bottom: 15px;
}
#register{
    border: 1px solid #F1F1F1;
    border-radius: 9px 9px 9px 9px;
    box-shadow: 1px 1px 3px #CCCCCC;
    color: #FF8800;
    font-weight: bold;
    margin-bottom: 5px;
    padding: 4px 8px;
}
#register:hover{color: #123abc;}
#register:active{box-shadow: 2px 2px 3px #555}
.error {
    padding-left: 180px;
    color: red;
}
/*********************** Login Form ***********************/
#login_form_wrapper {
    width:60%;
    display:none;
}

#login_form .error {
    display:block;
}

#login_form_page_wrapper {
	width:30%;
	margin-left:35%;
}

#login_form_page_wrapper .error {
	padding-left :5px;
}

#login_page input[type='submit'] {
	margin-left: 30%;
} 

/*********************** Post Article Form ***********************/
#post_article h1 {
  background: url("images/menu/menu-grad.jpg") repeat scroll 0 0 transparent;
  border: 1px solid #F1F1F1;
  border-radius: 5px 5px 5px 5px;
  box-shadow: 1px 1px 3px #CCCCCC;
  color: #CC0000;
  font-family: times New Roman;
  font-size: 20px;
  margin: 0 auto;
  padding: 5px 0;
  text-align: center;
  width: 70%;
}
#det01{width: 48%;float:left; border-right: 1px solid #f1f1f1}

#det02{width: 48%; float: left;}

#det03{width: 98%;float:left; border: 1px solid #f1f1f1; border-radius: 5px; padding: 5px;}
#det03 textarea {
  border: 1px solid #CCCCCC;
  border-radius: 5px 5px 5px 5px;
  height: 100px;
  margin: 0 auto;
  width: 100%;
}

.detail_post label{width: 100px;}
.detail_post {padding: 5px;}

#post_article .error {
	padding-left:30px;
    display:block;
}

/*********************** Articles for Homepage ***********************/

#articles {
	
}

div.article_block {
  border: 1px solid #F1F1F1;
  border-radius: 4px 4px 4px 4px;
  box-shadow: 1px 1px 2px #CCCCCC;
  height: 160px;
  margin: 1px 3px 6px;
  padding: 5px;
}

div.article_block img, image {
	margin: 5px;
}

div.article_content {
	height: 200px;
}

div.article_head {
	font-size: 18px;
	font-weight:bold;
}

span.article_date {
	font-size: 18px;
	font-weight:bold;
}

div.article_block h2 {
	padding:0;
	margin:0;
	font-size: 18px;
	display:inline;
	font-weight:bold;
}

span.article_price {
	float:right;
}